<?php

namespace app\models;

use Yii;

/**
 * This is the model class for table "crm_front_permission".
 *
 * @property array $permission 存储所有的前端权限
 * @property int $id
 */
class CrmFrontPermission extends \yii\db\ActiveRecord
{
    /**
     * {@inheritdoc}
     */
    public static function tableName()
    {
        return 'crm_front_permission';
    }

    /**
     * {@inheritdoc}
     */
    public function rules()
    {
        return [
            [['permission'], 'safe'],
        ];
    }

    /**
     * {@inheritdoc}
     */
    public function attributeLabels()
    {
        return [
            'permission' => '存储所有的前端权限',
            'id' => 'ID',
        ];
    }
}
